package com.wcsy.myblog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("tb_img")
public class Img {
  @TableId(type = IdType.INPUT)
  private long imgId;
  private String aImg;
  private long articleId;


  public long getImgId() {
    return imgId;
  }

  public void setImgId(long imgId) {
    this.imgId = imgId;
  }


  public String getAImg() {
    return aImg;
  }

  public void setAImg(String aImg) {
    this.aImg = aImg;
  }


  public long getArticleId() {
    return articleId;
  }

  public void setArticleId(long articleId) {
    this.articleId = articleId;
  }

  @Override
  public String toString() {
    return "Img{" +
            "imgId=" + imgId +
            ", aImg='" + aImg + '\'' +
            ", articleId=" + articleId +
            '}';
  }
}
